const express = require(`express`)
const fun_sys_dept = require("../../modules/fun/fun_sys_dept");
const router = express.Router()
router.post(`/`, (req, res, next) => {
    res.json({
        status: 0,
        data: `部门管理`
    })
})
router.post(`/insert`, (req, res, next) => {
    try{
        let dept_parent_id = req.query.dept_parent_id;
        if(!dept_parent_id)throw new Error("参数错误");

    }catch (e){
        next(e);
    }

})
module.exports = router;